# 22-字典.py
'''
    电脑
    key:value
    cpu: i9
    ddr4:64g
'''
# 1、创建字典
d = {"cpu":["i9","i7",'i5'],"ddr4":'64g'}

# 2、获取 值
print(d['cpu'][0])

# 3、修改 
d['cpu'][0] = "i3"
print(d)

# 4、增加
d['m2'] = '2T'
print(d)